# name = "wang"
# age = 18
# print(f'{name}的年纪是{age}')
# print('{}的年纪是{}'.format(name, age))

# import random
# computer_num = random.randint(0, 1000)
# user_num = int(input("请输入一个数字："))
#
# if user_num < 0 or user_num >= 1000:
#     print("请你重新输入！")
# else:
#     if user_num < computer_num:
#         print("小了,电脑的数字是", computer_num)
#     else:
#         print("大了,电脑的数字是",computer_num)


# age = int(input("请输入你的年龄："))
# gender = input("请输入你的性别：")
#
# if age < 0 or age > 100:
#     print("输入无效！")
# else:
#     if age < 18 and gender=='男':
#         print("男孩")
#     elif age < 18 and gender=='女':
#         print("女孩")
#     elif age > 18 and gender=='男':
#         print("先生")
#     else:
#         print("女士")


# import random
# target = random.randint(0, 1000)
# guess = None


